﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" 
    x:Class="NASA.BeAMartian.Views.About"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <Image Margin="0,0,0,-32" Source="/NASA.BeAMartian;component/Assets/Images/blk.png" Stretch="Fill" Grid.RowSpan="2"/>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="About NASA Be A Martian" Style="{StaticResource PhoneTextNormalStyle}" FontWeight="Bold" FontSize="21.333"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            
        	<toolkit:WrapPanel HorizontalAlignment="Left" VerticalAlignment="Top">
        	<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" MaxWidth="400"><Run Text="Drawing on observations from NASA’s Mars missions, the &quot;Be A Martian&quot; application enables the public to participate as citizen scientists to assist Mars science teams studying data about the Red Planet, as well as learn about the planet in general."/><LineBreak/></TextBlock>
				<TextBlock TextWrapping="Wrap"><Run Text="Be A Martian is  an open-source project written in Silverlight, and the source code can be found on" /></TextBlock>
				<TextBlock TextWrapping="Wrap"><Run Text="CodePlex at" /></TextBlock>
				<HyperlinkButton Click="HyperlinkButton_Click" Margin="-7,0,0,0" Tag="http://beamartian.codeplex.com" Content="http://beamartian.codeplex.com" FontSize="20" Foreground="#FF4BFF3C" />
				<TextBlock Margin="-11,0,0,0" TextWrapping="Wrap"><Run Text=". The"/></TextBlock>
				<TextBlock TextWrapping="Wrap"><Run Text="data services for both the Be A Martian Windows Phone 7 application and website are hosted on Windows Azure and DataMarket. "/><LineBreak/><Run/><LineBreak/><Run Text="Be A Martian was created under a Memorandum of Understanding between NASA/JPL-Caltech and Microsoft. The website can be found at"/></TextBlock>
				<HyperlinkButton Click="HyperlinkButton_Click" Margin="-7,0,0,0" Tag="http://beamartian.jpl.nasa.gov" Content="http://beamartian.jpl.nasa.gov" FontSize="20" Foreground="#FF4BFF3C" />
				<TextBlock Height="1" TextWrapping="Wrap" Text="TextBlock" Width="4"/>
					 
				     	
			</toolkit:WrapPanel>
        </Grid>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
